﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Windows;

namespace Wintellect.LiveFx.Cloudboard
{
  /// <summary>
  /// Interaction logic for App.xaml
  /// </summary>
  public partial class App : Application
  {
    private HotkeyListener listener;

    public App()
    {
      EtwTrace.Trace("Application started.");
      // We don't want the app to exit until we tell it to die
      // (or it hits one of the many bugs it probably has)
      Application.Current.ShutdownMode = ShutdownMode.OnExplicitShutdown;
    }

    protected override void OnStartup(StartupEventArgs e)
    {
      this.listener = new HotkeyListener();
      base.OnStartup(e);
    }

    protected override void OnExit(ExitEventArgs e)
    {
      base.OnExit(e);
    }
  }
}
